﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ConfirmBookArrived.aspx.cs" Inherits="Family_ConfirmBookArrived" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="renderer" content="webkit">
    <title>图书详情</title>
    <link rel="stylesheet" type="text/css" href="../css/bootstrap.css">
    <script type="text/javascript" src="../js/jquery.min.js"></script>
    <script type="text/javascript" src="../js/bootstrap.js"></script>
    <script type="text/javascript" src="../js/respond.min.js"></script>
    <script type="text/javascript" src="../js/jquery.validate.js"></script>
    <script type="text/javascript" src="../js/pages/confirm-book-arrived.js"></script>
</head>
<body>
<nav class="navbar navbar-default">
    <div class="container">
    <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="#"><b><img src="../images/bswlogo.jpg" height="25px" class="img-rounded" />  家庭共享书库</b></a>
    </div>
    <div id="navbar" class="navbar-collapse collapse" aria-expanded="false" style="height: 1px;">

    </div><!--/.nav-collapse -->
    </div>
</nav>

    <div class="container">
        
        <div class="col-md-10">
            <form id="search-form">
                <div class="input-group col-md-5 col-xs-12">
                    <input type="text" class="form-control" placeholder="图书编号" name="BID" id="BID">
                    <span class="input-group-btn"><a class="btn btn-default" type="button" id="search-btn">
                        查询</a> </span>
                </div>
                <div class="error"></div>
                <!-- /input-group -->
            </form>
            <hr />
            <div id="search-result"></div>
            <div id="result-area" class="hidden">
            <input type="hidden" id="juid"/>
            <input type="hidden" id="cuid" />
            <input type="hidden" id="borrowId" />
            <input type="hidden" id="bid" />
            <input type="hidden" id="bdate" />
            <input type="hidden" id="j-book-id" />
            <div class="row">
                <div class="col-md-6 col-xs-6">
                    <p style="margin-bottom: 1px">
                        借书人：<span id="borrow-student-name"></span></p>
                    <p style="margin-bottom: 1px">
                        年级：<span id="borrow-student-grade"></span></p>
                    <p style="margin-bottom: 1px">
                        班级：<span id="borrow-student-class"></span></p>
                    <p style="margin-bottom: 1px">
                        电话：<span id="borrow-student-phone"></span></p>
                </div>
                <div class="col-md-6 col-xs-6">
                    <p style="margin-bottom: 1px">
                        持有人：<span id="lend-student-name"></span></p>
                    <p style="margin-bottom: 1px">
                        年级：<span id="lend-student-grade"></span></p>
                    <p style="margin-bottom: 1px">
                        班级：<span id="lend-student-class"></span></p>
                    <p style="margin-bottom: 1px">
                        电话：<span id="lend-student-phone"></span></p>
                </div>
            </div>
            <hr />
            <h4 id="result-book-id">图书编号：</h4>
            <div class="row">
                <div class="col-md-5 col-xs-5">
                    <img id="book-img" class="img-responsive" width="127px" height="158px" src="" alt="缩略图" />
                </div>
                <div class="col-md-7 col-xs-7">
                    <p style="margin-bottom: 1px">
                        书号：<span id="book-id"></span></p>
                    <p style="margin-bottom: 1px">
                        作者：<span id="book-author"></span></p>
                    <p style="margin-bottom: 1px">
                        出版社：<span id="book-press"></span></p>
                    <p style="margin-bottom: 1px">
                        出版时间：<span id="book-pym"></span></p>
                    <p style="margin-bottom: 1px">
                        定价：<span id="book-price"></span></p>
                    <p style="margin-bottom: 1px">
                        ISBN：<span id="book-isbn"></span></p>
                    <p style="margin-bottom: 1px">
                        分类：<span id="book-cid"></span></p>
                    <p style="margin-bottom: 1px">
                        流通状态：<b><span id="book-circulation-status"></span></b></p>
                </div>
            </div>
            <button class="btn btn-lg btn-success" id="confirm-book-arraived-btn">确认图书已到</button>

            </div>
                    <br /><hr />
            <a href="ConfirmTableList.aspx" class="btn-block" target="_self">确认列表</a>&nbsp;
            <a href="CancelBorrow.aspx" class="btn-block" target="_self">取消借阅</a>&nbsp;
            <a href="PaymentBook.aspx" class="btn-block" target="_self">追索图书</a>&nbsp;
            <a href="ShortMsgResend.aspx" class="btn-block" target="_self">短信重发</a>&nbsp;
            <a href="ImportFamilyInfo.aspx" class="btn-block" target="_self">管理家庭</a>&nbsp;
        </div>

    </div>
</body>
</html>
